local function fat_acc(n,a) if n==1 then  return a else  return fat_acc(n-1,a*n)  end end   local function fat(n)   if n<=2 then     return n   end   return fat_acc(n,1) end  local function fat2(n)   if n<=2 then     return n   end   return n*fat2(n-1) end    print(fat(3))  

